﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="GrantAccess.aspx.cs" Inherits="WebForms.Doctor.GrantAccess" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Grant access to patient <asp:Label ID="Name" runat="server" /> for another Doctor
    </h2>
    <h3>Choosen patient:</h3>
    <table>
        <tr>
            <td>
                Name
            </td>
            <td>
                <asp:Label ID="NameValue" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                SocialSecurity
            </td>
            <td>
                <asp:Label ID="SSV" runat="server" />
            </td>
        </tr>
    </table>
    <h3>Choose Doctor to grant access</h3>
    <asp:DropDownList ID="chooseDoctor" runat="server"  DataTextField="Name" DataValueField="DocID" Width="200">
    </asp:DropDownList>
    <br/>
    <h3>Choose expire date</h3>

    <asp:Calendar ID="chooseDate" runat="server" onselectionchanged="chooseDate_SelectionChanged"></asp:Calendar>
    <asp:Label runat="server" ID="chosenDate" ></asp:Label>
    <asp:Button ID="verifyGrant" runat="server" Text="Verify" 
        onclick="verifyGrant_Click"  />
    <asp:Button ID="cancel" runat="server" Text="Cancel" onclick="cancel_Click" />
</asp:Content>
